package com.njit.campuslifeboot.service;

import com.njit.campuslifeboot.entity.dto.AddCommentDTO;
import com.njit.campuslifeboot.entity.dto.CommentItem;
import com.njit.campuslifeboot.entity.po.LifeInfoComment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Axin
 * @since 2022-11-08
 */
public interface ILifeInfoCommentService extends IService<LifeInfoComment> {

    boolean addComment(AddCommentDTO addCommentDTO, Integer id);

    List<CommentItem> getComments(Integer infoId);
}
